<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>慢病报告</title>
    <%- include('../_global/baseLibsJKDA') %>
    <link rel="stylesheet" href="/static/css/public.css"/>
    <link rel="stylesheet" href="/static/css/page-main.css"/>
    <!--<link rel="stylesheet" href="/static/css/public.css">-->

    <style type="text/css">
        html, body {
            width: 100%;
            height: 100%;
            margin: 0px;
        }
        #ListTabBox .tab{ display: block!important;}
        .ssjl_list{
            padding: 0.71429rem 1rem;
        }
        .ssjl_list .ssjl{
            margin-bottom: 0.6rem;
            border-bottom:1px solid #ddd;
        }
        .ssjl_list .ssjl li{
            line-height: 1.8rem;
        }
    </style>
</head>

<body>
<header class="header-box grey fixed">
    <div class="header-content">
        <div class="left-tool">
            <a class="back" href="javascript:void(0);"><i class="iconfont icon-back"></i></a>
        </div>
        <div class="title">慢病报告</div>
    </div>
</header>
<!-- <div class="search-nav">
  <i class="search"></i>
  <input type="text" placeholder="输入检查单号" id="JCDH" onkeyup="filterContent()">
</div> -->
<div id="ListTabBox">
    <div class="tab">
        <div class="ssjl_list">
            <ul id="mbda"></ul>
        </div>
    </div>
</div>
</body>
<script type="text/javascript">

    var page_mbda = (function($, page_mbda) {

        var cfg_def = {
            indata: indata,
            queryJkdaMbdaBack: queryJkdaMbdaBack,

        }

        page_mbda.init = function(cfg){
            $.extend(page_mbda, cfg_def, cfg);
            page_mbda.indata();


        }
        return page_mbda;
        function indata() {
            var zxwyh = $.QuickUrlUtils.getRequest("ZXWYH");
            $.QuickRemote.AjaxJson({
                funcName: "/api/gzd/jkda/queryJkdaMbda"
                ,callback:page_mbda.queryJkdaMbdaBack
                ,params:{
                    "zxwyh": zxwyh,
                }
            });

        }
        //慢病档案回调
        function queryJkdaMbdaBack(result) {
            $("#mbda").html(template("mbbgList", {data:result}));
        }

    })(jQuery, {});

</script>
<script type="text/html" id="mbbgList">
    {{each data}}
    <div class="ssjl">
        <li>管理单位: {{$value.gldw }}</li>
        <li>管理对象: {{$value.gldx}}</li>
        <li>危险分层: {{$value.wxfc}}</li>
        <li>管理级别: {{$value.gljb}}</li>
        <li>并发症: {{$value.bfz}}</li>
    </div>
    {{/each}}
</script>
</html>